package cn.com.chengmandian.bike.service;

import cn.com.chengmandian.bike.model.EbRedeemCode;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 电单车运营-兑换码 服务类
 * </p>
 *
 * @author AutoGenerator
 * @since 2023-10-18
 */
public interface IEbRedeemCodeService extends IService<EbRedeemCode> {

    EbRedeemCode getByCode(String code);

    void checkRedeemCode(String code, Integer areaId, Integer memberId);

    void useRedeemCode(String code, Integer memberId);
}
